Branchwell

PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / martin - neon space ps3 [fmtvlsm] - SoOfCourseWhatIWantIsAPwMoebiusForEachLayer.milk

1MILKDROP_PRESET_VERSION=201
2PSVERSION=3
3PSVERSION_WARP=3
4PSVERSION_COMP=3
5[preset00]
6fGammaAdj=1.980
7fDecay=0.500
8fVideoEchoZoom=1.000
9fVideoEchoAlpha=0.500
10nVideoEchoOrientation=3
11nWaveMode=4
12bAdditiveWaves=1
13bWaveDots=0
14bWaveThick=1
15bModWaveAlphaByVolume=1
16bMaximizeWaveColor=0
17bTexWrap=1
18bDarkenCenter=0
19bRedBlueStereo=0
20bBrighten=0
21bDarken=1
22bSolarize=0
23bInvert=0
24fWaveAlpha=0.001
25fWaveScale=0.527
26fWaveSmoothing=0.450
27fWaveParam=0.000
28fModWaveAlphaStart=0.000
29fModWaveAlphaEnd=1.320
30fWarpAnimSpeed=1.459
31fWarpScale=2.007
32fZoomExponent=1.00000
33fShader=0.000
34zoom=0.99990
35rot=0.00000
36cx=0.500
37cy=0.500
38dx=0.00000
39dy=0.00000
40warp=0.01000
41sx=0.99990
42sy=1.00000
43wave_r=0.800
44wave_g=0.490
45wave_b=1.000
46wave_x=0.500
47wave_y=0.500
48ob_size=0.015
49ob_r=0.000
50ob_g=0.000
51ob_b=1.000
52ob_a=0.000
53ib_size=0.260
54ib_r=0.250
55ib_g=0.250
56ib_b=0.250
57ib_a=0.000
58nMotionVectorsX=64.000
59nMotionVectorsY=48.000
60mv_dx=0.000
61mv_dy=0.000
62mv_l=1.850
63mv_r=0.500
64mv_g=0.500
65mv_b=0.500
66mv_a=0.000
67b1n=0.000
68b2n=0.000
69b3n=0.000
70b1x=1.000
71b2x=1.000
72b3x=1.000
73b1ed=0.000
74wavecode_0_enabled=0
75wavecode_0_samples=282
76wavecode_0_sep=20
77wavecode_0_bSpectrum=0
78wavecode_0_bUseDots=1
79wavecode_0_bDrawThick=0
80wavecode_0_bAdditive=0
81wavecode_0_scaling=7.85800
82wavecode_0_smoothing=0.10000
83wavecode_0_r=0.000
84wavecode_0_g=0.300
85wavecode_0_b=1.000
86wavecode_0_a=0.600
87wave_0_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
88wave_0_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
89wave_0_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
90wave_0_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
91wave_0_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
92wave_0_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
93wave_0_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
94wave_0_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
95wave_0_init9=
96wave_0_per_frame1=t2 = t2 + bass_att;
97wave_0_per_point1=x = rand(100)/100;
98wave_0_per_point2=y = rand(100)/100;
99wavecode_1_enabled=0
100wavecode_1_samples=512
101wavecode_1_sep=0
102wavecode_1_bSpectrum=0
103wavecode_1_bUseDots=1
104wavecode_1_bDrawThick=1
105wavecode_1_bAdditive=0
106wavecode_1_scaling=0.89152
107wavecode_1_smoothing=0.82000
108wavecode_1_r=1.000
109wavecode_1_g=1.000
110wavecode_1_b=1.000
111wavecode_1_a=0.100
112wave_1_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
113wave_1_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
114wave_1_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
115wave_1_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
116wave_1_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
117wave_1_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
118wave_1_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
119wave_1_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
120wave_1_init9=
121wave_1_per_frame1=tm = time*.1;
122wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
123wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
124wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
125wave_1_per_frame5=
126wave_1_per_frame6=tic = min(time - tin,1);
127wave_1_per_frame7=tin = time;
128wave_1_per_frame8=
129wave_1_per_frame9=tva = (tic*q1*.5);
130wave_1_per_frame10=tvb = (tic*q2*.5);
131wave_1_per_frame11=tvc = (tic*q3*.5);
132wave_1_per_frame12=
133wave_1_per_frame13=q1 = tva;
134wave_1_per_frame14=q2 = tvb;
135wave_1_per_frame15=q3 = tvc;
136wave_1_per_frame16=
137wave_1_per_frame17=sz = .5;
138wave_1_per_frame18=len = q4;
139wave_1_per_frame19=t4 = len;
140wave_1_per_point1=xi = rand(100)/100;
141wave_1_per_point2=yi = rand(100)/100;
142wave_1_per_point3=
143wave_1_per_point4=x = xi; y = yi;
144wave_1_per_point5=
145wave_1_per_point6=a = q21/15;
146wavecode_2_enabled=0
147wavecode_2_samples=512
148wavecode_2_sep=0
149wavecode_2_bSpectrum=0
150wavecode_2_bUseDots=0
151wavecode_2_bDrawThick=1
152wavecode_2_bAdditive=0
153wavecode_2_scaling=0.89152
154wavecode_2_smoothing=0.82000
155wavecode_2_r=0.000
156wavecode_2_g=0.200
157wavecode_2_b=0.000
158wavecode_2_a=1.000
159wave_2_init1=t1 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
160wave_2_init2=t2 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
161wave_2_init3=t3 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
162wave_2_init4=t4 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
163wave_2_init5=t5 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
164wave_2_init6=t6 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
165wave_2_init7=t7 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
166wave_2_init8=t8 = 1 + (rand(101)*.01 - rand(101)*.01)*.3;
167wave_2_init9=
168wave_2_per_frame1=tm = time*.1;
169wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7);
170wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8);
171wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1);
172wave_2_per_frame5=
173wave_2_per_frame6=tic = min(time - tin,1);
174wave_2_per_frame7=tin = time;
175wave_2_per_frame8=
176wave_2_per_frame9=tva = (tic*q1*.5);
177wave_2_per_frame10=tvb = (tic*q2*.5);
178wave_2_per_frame11=tvc = (tic*q3*.5);
179wave_2_per_frame12=
180wave_2_per_frame13=q1 = tva;
181wave_2_per_frame14=q2 = tvb;
182wave_2_per_frame15=q3 = tvc;
183wave_2_per_frame16=
184wave_2_per_frame17=sz = .5;
185wave_2_per_frame18=len = 1;
186wave_2_per_frame19=t4 = len;
187wavecode_3_enabled=0
188wavecode_3_samples=512
189wavecode_3_sep=0
190wavecode_3_bSpectrum=1
191wavecode_3_bUseDots=1
192wavecode_3_bDrawThick=0
193wavecode_3_bAdditive=0
194wavecode_3_scaling=1.00000
195wavecode_3_smoothing=0.50000
196wavecode_3_r=1.000
197wavecode_3_g=1.000
198wavecode_3_b=1.000
199wavecode_3_a=1.000
200shapecode_0_enabled=0
201shapecode_0_sides=4
202shapecode_0_additive=1
203shapecode_0_thickOutline=0
204shapecode_0_textured=0
205shapecode_0_num_inst=1
206shapecode_0_x=0.500
207shapecode_0_y=0.500
208shapecode_0_rad=0.04896
209shapecode_0_ang=0.00000
210shapecode_0_tex_ang=1.00531
211shapecode_0_tex_zoom=1.53117
212shapecode_0_r=0.000
213shapecode_0_g=1.000
214shapecode_0_b=1.000
215shapecode_0_a=1.000
216shapecode_0_r2=0.830
217shapecode_0_g2=0.930
218shapecode_0_b2=0.800
219shapecode_0_a2=0.000
220shapecode_0_border_r=1.000
221shapecode_0_border_g=1.000
222shapecode_0_border_b=0.000
223shapecode_0_border_a=0.000
224shape_0_per_frame1=
225shape_0_per_frame2=trel = time/3;
226shape_0_per_frame3=
227shape_0_per_frame4=x = .5+sin(trel*2);
228shape_0_per_frame5=y = .5+cos(trel*1.3);
229shape_0_per_frame6=
230shape_0_per_frame7=
231shape_0_per_frame8=
232shape_0_per_frame9=
233shape_0_per_frame10=rad = .1;
234shape_0_per_frame11=a = .8;
235shapecode_1_enabled=0
236shapecode_1_sides=4
237shapecode_1_additive=0
238shapecode_1_thickOutline=1
239shapecode_1_textured=1
240shapecode_1_num_inst=1
241shapecode_1_x=0.260
242shapecode_1_y=0.200
243shapecode_1_rad=0.39317
244shapecode_1_ang=0.00000
245shapecode_1_tex_ang=0.00000
246shapecode_1_tex_zoom=0.93550
247shapecode_1_r=0.000
248shapecode_1_g=0.550
249shapecode_1_b=0.500
250shapecode_1_a=1.000
251shapecode_1_r2=0.000
252shapecode_1_g2=0.400
253shapecode_1_b2=0.400
254shapecode_1_a2=0.070
255shapecode_1_border_r=0.300
256shapecode_1_border_g=0.700
257shapecode_1_border_b=0.800
258shapecode_1_border_a=0.400
259shape_1_per_frame1=tex_zoom = q27;
260shapecode_2_enabled=0
261shapecode_2_sides=44
262shapecode_2_additive=0
263shapecode_2_thickOutline=0
264shapecode_2_textured=0
265shapecode_2_num_inst=1
266shapecode_2_x=0.503
267shapecode_2_y=0.500
268shapecode_2_rad=0.03886
269shapecode_2_ang=0.00000
270shapecode_2_tex_ang=0.00000
271shapecode_2_tex_zoom=0.60986
272shapecode_2_r=1.000
273shapecode_2_g=0.100
274shapecode_2_b=0.000
275shapecode_2_a=0.900
276shapecode_2_r2=1.000
277shapecode_2_g2=1.000
278shapecode_2_b2=1.000
279shapecode_2_a2=0.000
280shapecode_2_border_r=0.500
281shapecode_2_border_g=0.500
282shapecode_2_border_b=1.000
283shapecode_2_border_a=0.000
284shape_2_per_frame1=x = rand(50)/50;
285shape_2_per_frame2=y = .5;
286shape_2_per_frame3=
287shape_2_per_frame4=r = .4;
288shape_2_per_frame5=g = .6;
289shape_2_per_frame6=b = 1;
290shape_2_per_frame7=r2 = r;
291shape_2_per_frame8=g2 = g;
292shape_2_per_frame9=b2 = b;
293shape_2_per_frame10=
294shape_2_per_frame11=a2 = min(q21/2 ,1)/2;
295shape_2_per_frame12=
296shape_2_per_frame13=a = 0;
297shape_2_per_frame14=
298shape_2_per_frame15=rad = a2 * (.1+abs(x-.5))/2 ;
299shapecode_3_enabled=0
300shapecode_3_sides=4
301shapecode_3_additive=0
302shapecode_3_thickOutline=1
303shapecode_3_textured=1
304shapecode_3_num_inst=1
305shapecode_3_x=0.260
306shapecode_3_y=0.760
307shapecode_3_rad=0.39478
308shapecode_3_ang=0.00000
309shapecode_3_tex_ang=0.00000
310shapecode_3_tex_zoom=0.49981
311shapecode_3_r=1.000
312shapecode_3_g=1.000
313shapecode_3_b=1.000
314shapecode_3_a=1.000
315shapecode_3_r2=1.000
316shapecode_3_g2=1.000
317shapecode_3_b2=1.000
318shapecode_3_a2=0.800
319shapecode_3_border_r=0.200
320shapecode_3_border_g=0.700
321shapecode_3_border_b=0.500
322shapecode_3_border_a=1.000
323shape_3_per_frame1=tex_zoom = q27/2;
324per_frame_1=dec_med = pow (0.9, 30/fps);
325per_frame_2=dec_slow = pow (0.9, 30/fps);
326per_frame_3=beat = max (max (bass, mid), treb);
327per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow);
328per_frame_5=is_beat = above(beat, .1+avg+peak) * above (time, t0+.2);
329per_frame_6=t0 = is_beat*time + (1-is_beat)*t0;
330per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med;
331per_frame_8=index = (index + is_beat) %16;
332per_frame_9=index2 = (index2 + is_beat*bnot(index))%5;
333per_frame_10=monitor = index2;
334per_frame_11=
335per_frame_12=q20 = avg;
336per_frame_13=q21 = beat;
337per_frame_14=q22 = peak;
338per_frame_15=q23 = index;
339per_frame_16=q24 = is_beat;
340per_frame_17=q26 = bass + mid + treb;
341per_frame_18=q27 = index;
342per_frame_19=q28 = index2;
343per_frame_20=
344per_frame_21=k1 = is_beat*equal(index%2,0);
345per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1;
346per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1;
347per_frame_24=rott_ = p2 * 3.1416/4;
348per_frame_25=
349per_frame_26=rott = rott + .2*30/fps*q2;
350per_frame_27=
351per_frame_28=
352per_frame_29=q1 = cos(rott);
353per_frame_30=q2 = sin(rott);
354per_frame_31=q3 = -q2;
355per_frame_32=q4 = q1;
356per_frame_33=
357per_frame_34=ran = bnot(q24)*ran + q24 * (rand(50)-24);
358per_frame_35=tran = tan(ran);
359per_frame_36=tran = max(tran,-5);
360per_frame_37=tran = min(tran,5);
361per_frame_38=
362per_frame_39=trel = trel + .02*30/fps*tran+q24;
363per_frame_40=q5 = cos(trel);
364per_frame_41=q6 = sin(trel);
365per_frame_42=q7 = -q6;
366per_frame_43=q8 = q5;
367per_frame_44=
368per_frame_45=movex = movex*dec_slow + .1*sin(rott)*30/fps;
369per_frame_46=q9 = movex;
370per_frame_47=
371per_frame_48=spd = spd*bnot(q24) + q26*q24;
372per_frame_49=movez = movez + .005*30/fps*spd;
373per_frame_50=q30 = movez;
374per_frame_51=//q30 = .3* (sin(time/45) + 1.5);
375per_frame_52=
376per_frame_53=mv_x = 20;
377per_frame_54=mv_y = 15;
378per_frame_55=mv_a = .1;
379per_frame_56=mv_l = 0;
380per_frame_57=
381per_frame_58=q18 = sin(time/7);
382per_frame_59=q19 = sin(time/11);
383per_frame_60=
384per_frame_61=q32 = pow(0.98, 30/fps); //fade
385per_frame_62=
386per_frame_63=
387per_frame_64=// a
388per_frame_65=scale = 8;
389per_frame_66=angle = -time*0.2;
390per_frame_67=
391per_frame_68=q1 = scale*cos(angle); // the real part
392per_frame_69=q2 = scale*sin(angle); // the imaginary part
393per_frame_70=
394per_frame_71=// b
395per_frame_72=
396per_frame_73=q3 = 0; // the real part
397per_frame_74=q4 = 0.3; // the imaginary part
398per_frame_75=
399per_frame_76=// c
400per_frame_77=scale = 0.8;
401per_frame_78=angle = time*0.2;
402per_frame_79=
403per_frame_80=q5 = scale*cos(angle); // the real part
404per_frame_81=q6 = scale*sin(angle); // the imaginary part
405per_frame_82=
406per_frame_83=// d
407per_frame_84=q7 = -0.25; // the real part
408per_frame_85=q8 = 0.2; // the imaginary part
409per_frame_86=
410per_frame_87=q11 = 1/asin(1);
411warp_1=`sampler sampler_worms;
412warp_2=`float3 color, mus;
413warp_3=`float dx,dy;
414warp_4=`shader_body {
415warp_5=`float2 uv1 = (uv-.5) * aspect.xy;
416warp_6=`
417warp_7=`
418warp_8=`float2 uv6 = uv1;
419warp_9=`float z = .2*q28*length(uv1)+rand_frame * 64;
420warp_10=`float2 d = normalize(uv1);
421warp_11=`float clp = .5+rand_preset*10;
422warp_12=`float2 rs = clamp(tan(z)*d,-clp,clp);
423warp_13=`uv += rs/20;
424warp_14=`
425warp_15=`
426warp_16=`uv6 = .4*sin(uv1*2*(4+q28));
427warp_17=`mus = .06/(length(uv6));
428warp_18=`mus *= roam_cos;
429warp_19=`
430warp_20=`float3 blur = GetBlur1(frac(uv));
431warp_21=`
432warp_22=`float3 crisp= tex2D(sampler_main,uv);
433warp_23=`
434warp_24=`float3 ret1 = crisp - blur*.04 + .15*mus;
435warp_25=`
436warp_26=`//ret1 = lerp(ret1,ret1.gbr,lum(ret1));
437warp_27=`q25 = q24+.01;
438warp_28=`ret = q25*(ret1-.02)*.98 + (1-q25)* (GetPixel(uv_orig)-.0015);
439warp_29=`}
440comp_1=`float2 factorA, factorB, product;
441comp_2=`float2 numerator, denominator, fraction;
442comp_3=`float3 ret1, neu;
443comp_4=`float2 uv2,uv3;
444comp_5=`shader_body
445comp_6=`{
446comp_7=` float2 uv2;
447comp_8=` float ang2, c, s;
448comp_9=` uv -= 0.5;
449comp_10=` uv *= aspect.xy;
450comp_11=` uv = mul(uv, float2x2(_qb));
451comp_12=` float dist = 1;
452comp_13=` float inten = 1;
453comp_14=` ret1 = 0;
454comp_15=` int anz = 4;
455comp_16=` float n = anz;
456comp_17=` while (n >= 0) {
457comp_18=` ang2 = 0*n/anz;
458comp_19=` c = cos(ang2);
459comp_20=` s = sin(ang2);
460comp_21=` uv2.x = uv.x*c - uv.y*s;
461comp_22=` uv2.y = uv.x*s + uv.y*c;
462comp_23=` dist = 1-frac(1.0/anz*n+q30); //evtl sqrt !
463comp_24=` inten = sqrt(dist)*(1-dist)*2;
464comp_25=` float2 uv3 = 3*uv2*dist*(1+q5*uv.x) + 0.5 +float2(q18*n,q19) ;
465comp_26=` float3 cmul = float3(dist,1-dist,1-(dist-.5)*(dist-.5)*4);
466comp_27=` neu = tex2D(sampler_main,uv3) +q6*GetBlur1(frac(uv3*1.04)).bgr*1;
467comp_28=` ret1 = max(ret1,neu*inten);
468comp_29=` float2 uvo = uv;
469comp_30=`//*** Flexis Moebius transformation code
470comp_31=` uv3 = (uv3-0.5)*aspect.xy*2;
471comp_32=` factorA = uv3;
472comp_33=` factorB = float2(q1,q2);
473comp_34=` product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part
474comp_35=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part
475comp_36=` numerator = product + float2(q3,q4);
476comp_37=` factorA = uv;
477comp_38=` factorB = float2(q5,q6);
478comp_39=` product = float2( factorA.x*factorB.x - factorA.y*factorB.y, // the products real part
479comp_40=` factorA.x*factorB.y + factorA.y*factorB.x); // the products imaginary part
480comp_41=` denominator = product + float2(q7,q8);
481comp_42=` fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part
482comp_43=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part
483comp_44=` (denominator.x*denominator.x + denominator.y*denominator.y);
484comp_45=` uv3 *= fraction*0.5;
485comp_46=` float t = -time*0.5; // set velocity here
486comp_47=` float2 c2 = (uv-0.5);
487comp_48=` float1 ang_hq = -atan2(c2.x,c2.y);
488comp_49=` float2 spiral = float2(ang_hq*q11*3+t,aspect.w*log(length(c2))+ang_hq*q11-t);
489comp_50=` spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*0.95; // mirror
490comp_51=` uv3 = spiral;
491comp_52=` ret1 += tex2d(sampler_main,spiral);
492comp_53=` n--;
493comp_54=` }
494comp_55=` ret1 = lerp(ret1,ret1.gbr,q26/6);
495comp_56=` ret = ret1*2 + (1-rad)*q26/3*GetPixel(q5/2+uv*(2-rad));
496comp_57=`}
497fRating=5.000000